#ifndef _RESOURCE_H_
#define _RESOURCE_H_


class Resource
{
	private : 
		static unsigned int resourceNumber;
		unsigned int resourceID;
	public:
		Resource()
		{
			resourceID = resourceNumber;
			resourceNumber++;
		}
		unsigned int getID(){return resourceID;}
		
};
//initialize static variable.
unsigned int Resource::resourceNumber=0;


#endif
